package com.itheima.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.admin.mapper.AdArticleStatisticsMapper;
import com.itheima.admin.pojo.AdArticleStatistics;
import com.itheima.admin.service.AdArticleStatisticsService;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * <p>
 * 文章数据统计表 服务实现类
 * </p>
 *
 * @author 作者
 * @since 2021-08-19
 */
@Service
public class AdArticleStatisticsServiceImpl extends ServiceImpl<AdArticleStatisticsMapper, AdArticleStatistics> implements AdArticleStatisticsService {


    public static void main(String[] args) {
        Date date = new Date();
        if(date!=null && date.getTime()>0){
            System.out.println("不为空");
        }else{
            System.out.println("为空");
        }
    }
}
